package DependenciesInterface;

import java.time.ZoneId;
import java.time.ZonedDateTime;
import java.time.format.DateTimeFormatter;

public class TimeModule {
    public static String GetUTCTime() {
        ZonedDateTime UTC = ZonedDateTime.now(ZoneId.of("UTC"));
        DateTimeFormatter formatter = DateTimeFormatter.ofPattern("HH:mm");
        return UTC.format(formatter);
    }
}


/*
 * 2024.11.6:该接口重构构完毕
 */